package com.hxkj.mapper;

import com.hxkj.domain.po.AuthRoleFunction;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
* 数据库操作接口
*
* @author: chenwei
* @version: 1.0
* @datetime: 2018-05-21 17:59:26
*
*/
@Repository("authRoleFunctionMapper")
public interface AuthRoleFunctionMapper {

    /**
    *
    * 根据主键查询AuthRoleFunction对象
    *
    * @param id
    * @return AuthRoleFunction对象
    */
    AuthRoleFunction selectByPrimaryKey(Long id);

    /**
    *
    * 根据查询条件查询符合条件的AuthRoleFunction对象
    *
    * @param authRoleFunction
    * @return 符合条件的AuthRoleFunction对象List
    */
    List<AuthRoleFunction> select(AuthRoleFunction authRoleFunction);

    /**
    *
    * 根据主键删除AuthRoleFunction对象
    *
    * @param id
    * @return 影响条件数
    */
    int deleteByPrimaryKey(Long id);

    /**
    *
    * 根据条件删除符合条件的AuthRoleFunction对象
    *
    * @param authRoleFunction
    * @return 影响条件数
    */
    int delete(AuthRoleFunction authRoleFunction);

    /**
     *
     * 根据roleId删除AuthRoleFunction对象
     *
     * @param roleId
     * @return 影响条件数
     */
    int deleteFunctionByRoleId(Long roleId);

    /**
    *
    * 插入AuthRoleFunction对象
    *
    * @param authRoleFunction
    * @return 影响条件数
    */
    int insert(AuthRoleFunction authRoleFunction);

    /**
    *
    * 更新AuthRoleFunction对象
    *
    * @param authRoleFunction
    * @return 影响条件数
    */
    int update(AuthRoleFunction authRoleFunction);

}
